package com.etc.service.arithmetic;

/**
 * 乘坐公交路线
 * @author Administrator
 *
 */
public class TakeCatWay {
	private String star;		//出发站
	private String end;			//终点站
	private double starX;		//出发站纬度
	private double starY;		//出发站经度
	private double endX;		//终点站纬度
	private double endY;		//终点站经度
	private int distance; 		//相距多少米
	private double duration;	//所需时间（秒）
	private String way;			//路线
	private double time;		//景点预计时间
	private HotelJson hotelJson;//酒店
	
	public TakeCatWay() {
		// TODO Auto-generated constructor stub
	}
	
	public TakeCatWay(String star, String end, double starX, double starY, double endX, double endY, int distance,
			double duration, String way, double time) {
		super();
		this.star = star;
		this.end = end;
		this.starX = starX;
		this.starY = starY;
		this.endX = endX;
		this.endY = endY;
		this.distance = distance;
		this.duration = duration;
		this.way = way;
		this.time = time;
	}

	
	public TakeCatWay(String star, String end, double starX, double starY, double endX, double endY, int distance,
			double duration, String way, double time, HotelJson hotelJson) {
		super();
		this.star = star;
		this.end = end;
		this.starX = starX;
		this.starY = starY;
		this.endX = endX;
		this.endY = endY;
		this.distance = distance;
		this.duration = duration;
		this.way = way;
		this.time = time;
		this.hotelJson = hotelJson;
	}

	public String getStar() {
		return star;
	}

	public void setStar(String star) {
		this.star = star;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public double getStarX() {
		return starX;
	}

	public void setStarX(double starX) {
		this.starX = starX;
	}

	public double getStarY() {
		return starY;
	}

	public void setStarY(double starY) {
		this.starY = starY;
	}

	public double getEndX() {
		return endX;
	}

	public void setEndX(double endX) {
		this.endX = endX;
	}

	public double getEndY() {
		return endY;
	}

	public void setEndY(double endY) {
		this.endY = endY;
	}

	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}

	public double getDuration() {
		return duration;
	}

	public void setDuration(double duration) {
		this.duration = duration;
	}

	public String getWay() {
		return way;
	}

	public void setWay(String way) {
		this.way = way;
	}

	public double getTime() {
		return time;
	}

	public void setTime(double time) {
		this.time = time;
	}

	public HotelJson getHotelJson() {
		return hotelJson;
	}

	public void setHotelJson(HotelJson hotelJson) {
		this.hotelJson = hotelJson;
	}

	@Override
	public String toString() {
		return "TakeCatWay [star=" + star + ", end=" + end + ", starX=" + starX + ", starY=" + starY + ", endX=" + endX
				+ ", endY=" + endY + ", distance=" + distance + ", duration=" + duration + ", way=" + way + ", time="
				+ time + "]";
	}
	
}
